﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.ComponentModel.DataAnnotations;

namespace spring.stp6.db.provider.Entity
{
    [Table("b_user")]
    public class UserEntity
    {
        [Key]        
        [StringLength(15)]
        [Column("userName", TypeName = "varchar")]  
        public string userName{set;get;}
        public string pwd { set; get; }
        public string email { set; get; }
        public int sex { set; get; }
        public int isCompany { set; get; }
        public DateTime? registerDate { set; get; }
        public DateTime? lastLoginDate { set; get; }
        public string lastLoginIP { set; get; }
        public int status { set; get; }

    }
}
